import os
import pathlib


class FileList:
    def __init__(self, dir):
        self.dir = dir
        self.lst = []

    def file_list(self):
        file_dir = self.dir
        file_ext = r'**\*.py'
        self.lst = list(pathlib.Path(file_dir).glob(file_ext))
        return self.lst

    def file_list_str(self):
        self.file_list()
        str_list=[]
        for i in self.lst:
            str_list.append(i.__str__())
        return str_list

if __name__ == '__main__':
    ls = FileList(input()).file_list_str()
    print(ls)